<html>
<head>
<title>TestNG:  Default test</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />

<style type="text/css">
.log { display: none;} 
.stack-trace { display: none;} 
</style>
<script type="text/javascript">
<!--
function flip(e) {
  current = e.style.display;
  if (current == 'block') {
    e.style.display = 'none';
    return 0;
  }
  else {
    e.style.display = 'block';
    return 1;
  }
}

function toggleBox(szDivId, elem, msg1, msg2)
{
  var res = -1;  if (document.getElementById) {
    res = flip(document.getElementById(szDivId));
  }
  else if (document.all) {
    // this is the way old msie versions work
    res = flip(document.all[szDivId]);
  }
  if(elem) {
    if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
  }

}

function toggleAllBoxes() {
  if (document.getElementsByTagName) {
    d = document.getElementsByTagName('div');
    for (i = 0; i < d.length; i++) {
      if (d[i].className == 'log') {
        flip(d[i]);
      }
    }
  }
}

// -->
</script>

</head>
<body>
<h2 align='center'>Default test</h2><table border='1' align="center">
<tr>
<td>Tests passed/Failed/Skipped:</td><td>1/1/0</td>
</tr><tr>
<td>Started on:</td><td>Fri Nov 08 20:29:26 CST 2019</td>
</tr>
<tr><td>Total time:</td><td>9 seconds (9795 ms)</td>
</tr><tr>
<td>Included groups:</td><td></td>
</tr><tr>
<td>Excluded groups:</td><td></td>
</tr>
</table><p/>
<small><i>(Hover the method name to see the test class name)</i></small><p/>
<table width='100%' border='1' class='invocation-failed'>
<tr><td colspan='4' align='center'><b>FAILED TESTS</b></td></tr>
<tr><td><b>Test method</b></td>
<td width="30%"><b>Exception</b></td>
<td width="10%"><b>Time (seconds)</b></td>
<td><b>Instance</b></td>
</tr>
<tr>
<td title='com.mocne.TestCases.PortTestTestNG_TestCase.interfaceAutoTest()'><b>interfaceAutoTest</b><br>Test class: com.mocne.TestCases.PortTestTestNG_TestCase<br>Parameters: {Path=/platform/erp/purchaseOrder, checkKeys=jsonData.code,jsonData.data.purchaseOrderId, Port={{erp_test_port}}, Params={"warehouseId":1001,"deliveryDate":1561910399000,"purchaseOrderDetails":[{"displayOrder":null,"status":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"version":null,"lastUpdate":null,"purchaseOrderDetailId":null,"purchaseOrderId":null,"pskuId":2176162,"psku":"Y01082627841","quantity":1,"receivedQuantity":null,"priceWithoutVAT":3,"priceVAT":0.21,"price":3.21,"amountWithoutVAT":3,"vat":0.21,"amount":3.21,"quotationItemId":null,"purchasePlandetailId":null,"brandSku":"","brandName":"","receiveAmountWithoutVat":null,"companyEnums":"EGG_TH","materialId":2176162}],"purchaseOrderAttas":[],"supplierId":5668001,"orderAmountWithoutVAT":3,"orderVAT":0.21,"orderAmount":3.21,"totalOrderQty":1,"companyName":"EGG_TH"}, Host={{erp_test_host}}, checkValues="200",SELECT purchaseOrderId FROM erp_purchase_order ORDER BY createTime DESC LIMIT 1;, CaseDescription=创建采购单：供应商：B2C---义乌市拼途户外用品厂，SKU：Y01082627841
, Method=POST, Header={"Content-Type": "application/json;","token":"{{erp_test_token}}"}, setValues=SELECT purchaseOrderId FROM erp_purchase_order ORDER BY createTime DESC LIMIT 1;, Note=创建采购单, setKeys=erp_created_purchase_order, ID=2.0, Protocol={{erp_test_protocol}}}</td>
<td><div><pre>java.lang.NullPointerException
	at com.mocne.TestCases.PortTestTestNG_TestCase.interfaceAutoTest(portTestTestNG.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:648)
	at org.testng.TestRunner.run(TestRunner.java:505)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
	at org.testng.TestNG.runSuites(TestNG.java:1049)
	at org.testng.TestNG.run(TestNG.java:1017)
	at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
</pre></div><a href='#' onClick='toggleBox("stack-trace1825445620", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a>
<div class='stack-trace' id='stack-trace1825445620'><pre>java.lang.NullPointerException
	at com.mocne.TestCases.PortTestTestNG_TestCase.interfaceAutoTest(portTestTestNG.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:583)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:648)
	at org.testng.TestRunner.run(TestRunner.java:505)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
	at org.testng.TestNG.runSuites(TestNG.java:1049)
	at org.testng.TestNG.run(TestNG.java:1017)
	at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
</pre></div></td>
<td>1</td>
<td>com.mocne.MocneAutoTest.portTestTestNG@689604d9</td></tr>
</table><p>
<table width='100%' border='1' class='invocation-passed'>
<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>
<tr><td><b>Test method</b></td>
<td width="30%"><b>Exception</b></td>
<td width="10%"><b>Time (seconds)</b></td>
<td><b>Instance</b></td>
</tr>
<tr>
<td title='com.mocne.TestCases.PortTestTestNG_TestCase.interfaceAutoTest()'><b>interfaceAutoTest</b><br>Test class: com.mocne.TestCases.PortTestTestNG_TestCase<br>Parameters: {Path=/platform/erp/purchaseOrder, checkKeys=jsonData.data.total, Port={{erp_test_port}}, Params=purchaseOrderStatus=&supplierId=&eggSku=&orderNo=&orderType=&warehouseId=&sellerOrderNo=&limit=10&page=1&companyName=EGG_TH, Host={{erp_test_host}}, checkValues=2145, CaseDescription=查看所有采购单列表, Method=GET, Header={"Content-Type": "application/json","token":"{{erp_test_token}}"}, setValues=none, Note=采购单列表, setKeys=none, ID=1.0, Protocol={{erp_test_protocol}}}</td>
<td></td>
<td>1</td>
<td>com.mocne.MocneAutoTest.portTestTestNG@689604d9</td></tr>
</table><p>
</body>
</html>